//
//  CityObj.h
//
//  Created by lizhenqiang  on 16/4/10
//  Copyright (c) 2016 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>

/*
 {
 "_id": "570241196803facd0e8b4568",//城市唯一ID
 "country_id": "57023e686803facc0e8b4567",//国家ID,可忽略
 "level": 2,//对应的城市等级,可忽略
 "name": "大阪",
 "pid": "57023e686803facc0e8b4567",//上一级ID,可忽略
 "show_in_news": true,//是否显示,true显示,false不显示,客户端可忽略
 "cover": "http://s1.jingjing17.com/M00/00/2D/Cqvxy1X6LOaAEQqiAAAHJKm1m6g614.jpg"//封面图
 },
 
 
 */

@interface CityObj : NSObject <NSCoding, NSCopying>

@property (nonatomic, strong) NSString *internalBaseClassIdentifier;
@property (nonatomic, assign) BOOL showInNews;
@property (nonatomic, assign) double level;
@property (nonatomic, strong) NSString *countryId;
@property (nonatomic, strong) NSString *cover;
@property (nonatomic, strong) NSString *name;
@property (nonatomic, strong) NSString *pid;

+ (instancetype)modelObjectWithDictionary:(NSDictionary *)dict;
- (instancetype)initWithDictionary:(NSDictionary *)dict;
- (NSDictionary *)dictionaryRepresentation;

@end
